package com.gaohe.post.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.core.annotation.Excel;
import com.gaohe.common.core.web.domain.BaseEntity;

/**
 * 帖子置顶订单对象 fm_post_order
 * 
 * @author ruoyi
 * @date 2025-06-03
 */
public class FmPostOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 帖子置顶订单id */
    private Long postOrderId;

    /** 帖子id */
    @Excel(name = "帖子id")
    private Long postId;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal money;

    /** 置顶人id */
    @Excel(name = "置顶人id")
    private Long userId;

    /** 置顶时长/小时 */
    @Excel(name = "置顶时长/小时")
    private Long duration;

    /** 置顶审核状态(0未通过1已通过) */
    @Excel(name = "置顶审核状态(0未通过1已通过)")
    private Long status;

    /** 是否删除 */
    private Long delFlag;

    public void setPostOrderId(Long postOrderId) 
    {
        this.postOrderId = postOrderId;
    }

    public Long getPostOrderId() 
    {
        return postOrderId;
    }

    public void setPostId(Long postId) 
    {
        this.postId = postId;
    }

    public Long getPostId() 
    {
        return postId;
    }

    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setDuration(Long duration) 
    {
        this.duration = duration;
    }

    public Long getDuration() 
    {
        return duration;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("postOrderId", getPostOrderId())
            .append("postId", getPostId())
            .append("money", getMoney())
            .append("userId", getUserId())
            .append("duration", getDuration())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
